:root {
    --main-orange-color: rgb(249, 164, 75);
    --second-orange-color: #f19215;
    --headings-text-color: #000000;
    --gray-color2: #5d5d5d;
    --gray-color3: #111;
    --dark-text-color: #333;
    --light-text-color: white;
    --navbar-text-color: white;

    font-family: 'Barlow';
}

header {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    /*rechts noch komisch*/
    z-index: 100;
}

#logoimage {
    padding: 5px 12px !important;
}

#logoimage img {
    height: 35px;
}

#navbar-widescreen {
    display: none;
}

#logo-smallscreen ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--gray-color2);
}

#logo-smallscreen {
    max-width: 100%;
}

#logo-smallscreen ul li {
    float: left;
}

#logo-smallscreen ul li a {
    display: block;
    color: var(--navbar-text-color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

#navbarbutton-smallscreen {
    background-color: transparent;
    display: block;
    border: none;
    cursor: pointer;
    float: right;
    height: 47px;
}

#navbar-smallscreen {
    display: none;
}

#navbar-smallscreen ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: fit-content;
    background-color: var(--gray-color2);
    ;
    height: 100%;
    position: fixed;
    overflow: auto;
    right: 0;
}

#navbar-smallscreen ul li a {
    display: block;
    color: var(--navbar-text-color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

#navbar-smallscreen ul li a:hover {
    background-color: var(--gray-color3);
}

.activenav {
    background-color: var(--second-orange-color);
}

/*#logo {
    width: 200px;
    padding: 0px 0px;
}*/

h1 {
    text-align: center;
    margin-top: 45px;
    font-size: 1.5em;
    color: var(--headings-text-color);
}

h2 {
    color: var(--headings-text-color);
}

#titelbild {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    margin-top: 0px;
    margin-bottom: -45px;
}

.imgbox {
    width: 100%;
    height: 60px;
    background: url("../Images-webp/LichtWaermeLuft.webp") no-repeat;
    background-size: contain;
    background-position: center;
    background-color: var(--second-orange-color);
    left: 0;
}

#infobereich {
    margin-bottom: 50px
}

#infobereich-kontakt {
    grid-template-columns: repeat(auto-fit, minmax(80%, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(500px, 1fr));
    grid-gap: 25px;
    justify-items: space-around;
    /*margin: 0px 10px 50px 10px;*/
}

#kontakt {
    /*padding: 5px 10px 0px 10px;*/
    height: fit-content;
    width: fit-content;
    justify-self: center;
    margin-bottom: 25px;
}

#karteSection {
    width: auto;
    justify-self: center;
}

#karte {
    width: 70%;
    display: block;
    /*margin: auto;*/
    object-fit: cover;
}

#anzeigengrid {
    display: grid;
    width: auto;
    height: auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 50vh));
    grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 10px;
    margin: 0px 10px 100px 10px;
    justify-content: center;
    justify-items: center;
}

.anzeigeItem {
    background-color: var(--headings-text-color);
    min-height: fit-content;
    min-width: 250px;
    max-height: 800px;
    max-width: 500px;
    text-decoration: none;
    border-radius: 2%;
}

.anzeigeItem:hover {
    transition: all .2s ease-in-out;
    transform: scale(1.025);
}

.anzeigeTitelfeld {
    margin: 2px 2px 2px 2px;
}

.anzeigeTitelfeld h2 {
    color: white;
    text-align: center;
}

.anzeigeTextfeld {
    margin: 2px 5px 2px 5px;
}

.anzeigeTextfeld p {
    color: white;
    text-align: justify;
}

main {
    /*padding-top: 25px;*/
    padding-top: 50px;
    min-height: calc(100vh - 213.3px);
    /*Hier nochmal schauen*/
}

.main-jobs {
    padding-top: 25px;
    min-height: calc(100vh - 213.3px);
}

h2 {
    font-size: 1.2em;
    max-width: 80%;
    display: block;
    margin-left: 10px;
    margin-right: auto;
}

.textbereich {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
    border-color: #333;
    border-style: groove;
    margin-bottom: 25px;
    padding-left: 10px;
    padding-right: 10px;
    width: fit-content;
    min-width: 30%;
    max-width: 80%;
    text-align: justify;
}

.textbereich ul {
    text-align: left;
}

.textbereich ul li {
    text-align: left;
}

.textbereich h2 {
    text-align: center;
}

#fuhrparkImg,
.fuhrparkImg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
}

#btnMailLink {
    text-decoration: none;
    color: white;
}

#btnMail {
    margin-top: 15px;
    margin-bottom: -20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--headings-text-color);
    font-size: 20px;
    color: white;
    padding: 5px 5px 5px 5px;
    transition: .1s ease-in-out;
    border-style: none;
    border-radius: 5px;
    cursor: pointer;
}

#btnMail:hover {
    background-color: var(--second-orange-color);
}

footer {
    position: absolute;
    width: 100%;
    left: 0;
    color: var(--light-text-color);
}

.footer-list {
    list-style-type: none;
    padding-left: 0px;
}

#restfooter {
    display: flex;
    background-color: var(--gray-color2);
    justify-content: space-around;
}

#impressum {
    font-size: 10px;
    padding: 0px 5px 10px 5px;
    list-style-type: none;
}

#impressum li a {
    text-decoration: none;
    color: var(--light-text-color);
}

#unterseiten {
    padding: 0px 5px 10px 5px;
    font-size: 10px;
    list-style-type: none;
}

#unterseiten li a {
    text-decoration: none;
    color: var(--light-text-color);
}

#kontakt-impressum {
    padding: 0px 5px 10px 5px;
    font-size: 10px;
    list-style-type: none;
}

/*Slideshow*/

body {
    margin: 0;
}

.mySlides {
    display: none
}

.imgSlideShow {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 75%;
    max-height: 500px;
}

.slideshow-container {
    position: relative;
    margin: auto;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--headings-text-color);
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: #333;
    color: var(--second-orange-color);
}

.text {
    color: #ffffff;
    font-size: 15px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: var(--headings-text-color);
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--gray-color2);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.active,
.dot:hover {
    background-color: var(--gray-color3);
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

.main-elements {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /*margin-top: 20px;*/
}

.element {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--gray-color2);
    text-align: center;
    border-radius: 8px;
    width: 75%;
}

.element img {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.element h3 {
    margin: 15px 0;
}

.element p {
    margin: 10px 0;
    font-size: 1.5em;
    color: white;
}

.view-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--second-orange-color);
    color:  var(--dark-text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

#angebotAnfordern {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--second-orange-color);
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 600;
}

.view-more:hover,
#angebotAnfordern:hover {
    background-color: var(--gray-color3);
    color: var(--light-text-color);
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container h3 {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
    font-size: 1.2em;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.textblock {
    max-width: 90%;
    margin-left: 10px;
}

.top-banner {
    background: var(--second-orange-color);
    padding-left: 10%;
    padding-right: 10%;
    /*margin-top: 20px;*/
}

.mobile-hidden {
    display: none;
}

.p-text {
    font-size: 20px
}

.column .p-right {
    margin-left: 10px;
}

.p-right-mobile {
    margin-left: 10px;
}

.about-us-img {
    width: 90%;
}

.mobile-smaller-img {
    max-width: 60%;
}

.header-margin-mobile {
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-top: 10px;
    padding-top: 0px;
}

.h1-top-margin-mobile {
    margin-top: 10px;
}

.column-36 {
    margin-left: 15px;
    margin-right: 15px;
}

.small-column-mobile {
    width: 30%;
}

.large-column-mobile {
    width: 60%;
}

#request-offer {
    font-weight: 500;
    font-size: 25px;
}

.request-offer-buttonblock {
    height: 80px;
}

.leftline {
    border-left: 3px solid;
}

.mobile-margin-16 {
    margin-left: 16%;
}

.mobile-flex {
    display: flex;
}

.opening-times-column {
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

.indexpage-infotext {
    margin-left: 15px;
    margin-right: 15px;
    font-size: 1.2em;
}